(define-module (emacs plantuml-mode)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix build-system emacs)
  #:use-module (guix packages)
  #:use-module (gnu packages emacs)
  #:use-module (gnu packages emacs-xyz)
  #:use-module (guix download))

(define-public emacs-plantuml-mode
  (package
    (name "emacs-plantuml-mode")
    (version "1.4.1")
    (source
     (origin
       (method url-fetch)
       (uri (string-append
             "https://stable.melpa.org/packages/plantuml-mode-"
             version ".el"))
       (sha256
        (base32
         "1ymkcg97aalf72p4wdyznzk7pa1g9nc4qxn1w4yq0gq1198j8v5x"))))
    (build-system emacs-build-system)
    (propagated-inputs `(("emacs-dash" ,emacs-dash)))
    (home-page "https://github.com/skuro/plantuml-mode")
    (synopsis "Major mode for PlantUML")
    (description
     "A major mode for plantuml.  Plantuml is an open-source tool in
java that allows to quickly create UML diagrams.")
    (license license:gpl3+)))
